import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router'
import store from '@/store'
import useRem from '@/hooks/useRem'
import { useTitle } from '@vueuse/core'
import 'virtual:windi.css'
import i18n from '@/plugins/i18n'
import api from '@/plugins/api'
import global from '@/plugins/global'

useRem()
useTitle(import.meta.env.VITE_TITLE)
const app = createApp(App)
app.use(router)
app.use(store)
app.use(i18n)
app.use(api)
app.use(global)
app.mount('#app')
